//
//  OwlDocument.h
//  Owl
//
//  Created by Tianzhou on 09-1-10.
//  Copyright Tianzhou Software Inc. 2009 . All rights reserved.
//


@class ChildNode;
#import <Cocoa/Cocoa.h>
#import "TZDocument.h"
#import "OwlSourceListViewProtocol.h"

@interface OwlDocument : TZDocument <OwlSourceListViewProtocol>
{
	NSMutableArray	*contents_;
	ChildNode *selectedNode_;
}

@property (assign,readwrite) NSArray *contents;
@property (assign,readwrite) ChildNode *selectedNode;

+ (void)registerDefaults;

+ (int)calculateLineCountForWrapper:(NSFileWrapper *)fileWrapper
                    withAbsolutePath:(NSString *)path;
//+ (int)gatherWCDataUnderPath:(NSString *)path;
+ (int)calculateLineCountForFile:(NSString *)path
                         atFolder:(NSString *)folderPath;

//- (void)setContents:(NSArray *)newContents;
//- (NSArray *)contents;

//- (IBAction)importProject:(id)sender;


@end

